package edu.cicese.alz.reports;

/**
 * Created by: Eduardo Quintana Contreras
 * Date: 28/02/12
 * Time: 02:49 PM
 */
public class AccelerometerUtil {

	public static final int INTENSITY_NO_DATA = 0;
	public static final int INTENSITY_NO_MOVEMENT = 1;
	public static final int INTENSITY_SEDENTARY = 2;
	public static final int INTENSITY_LIGHT = 3;
	public static final int INTENSITY_MODERATE = 4;
	public static final int INTENSITY_HARD = 5;

	public static final int expectedFrequency = 40;
	public static long timestampAux;

//	public static int INTENSITY_NO_MOVEMENT_THRESHOLD;
	public static int INTENSITY_SEDENTARY_THRESHOLD;
	public static int INTENSITY_LIGHT_THRESHOLD;
	public static int INTENSITY_MODERATE_THRESHOLD;
	public static int INTENSITY_HARD_THRESHOLD;

	public static final int maxFrequency = 100;


	public static String[][][] periods = new String[][][]{
			{
					{"17/4/2012", "09:05:00", "09:06:00"},
					{"17/4/2012", "14:20:00", "14:21:30"},
			}
	};

	public static String[][][] walkingPeriods = new String[][][]{
			{},
			{
					{"17/11/2011", "09:05:00", "09:06:00"},
					{"17/11/2011", "14:20:00", "14:21:30"},
					{"22/11/2011", "12:45:00", "12:46:00"},
					{"22/11/2011", "13:36:20", "13:37:20"},
					{"22/11/2011", "13:38:00", "13:39:30"},
					{"26/11/2011", "13:36:00", "13:39:00"},
					{"26/11/2011", "15:13:10", "15:15:10"},
			},
			{

					{"16/11/2011", "13:00:00", "13:05:00"},
					{"16/11/2011", "08:26:00", "08:28:00"},
					{"17/11/2011", "11:11:00", "11:14:00"},
					{"17/11/2011", "10:43:00", "10:51:00"},
					{"23/11/2011", "12:15:00", "12:20:00"},
					{"23/11/2011", "12:40:00", "12:50:00"},
					{"23/11/2011", "12:55:00", "13:04:00"},
					{"24/11/2011", "13:36:00", "13:47:00"},
			},
			{

					{"22/11/2011", "14:51:00", "15:03:00"},
					{"22/11/2011", "15:24:00", "15:28:00"},
					{"22/11/2011", "15:29:00", "15:36:00"},
					{"30/11/2011", "13:20:00", "13:27:00"},
					{"30/11/2011", "14:32:00", "14:39:00"},
			},
			{

					{"23/11/2011", "08:55:00", "09:01:00"},
					{"23/11/2011", "09:02:00", "09:04:00"},
					{"23/11/2011", "09:08:30", "09:13:30"},
					{"23/11/2011", "11:40:30", "11:42:30"},
					{"24/11/2011", "11:36:00", "11:41:00"},
					{"24/11/2011", "12:03:00", "12:06:00"},
					{"24/11/2011", "12:07:00", "12:12:00"},
					{"24/11/2011", "12:19:00", "12:26:00"},
					{"24/11/2011", "13:05:00", "13:07:00"},
			},
			{},
			{

					{"09/12/2011", "16:15:30", "16:16:00"},
					{"09/12/2011", "16:17:00", "16:18:00"},
					{"09/12/2011", "16:32:00", "16:34:00"},
					{"12/12/2011", "09:21:30", "09:24:30"},
					{"12/12/2011", "09:36:00", "09:40:00"},
					{"11/12/2011", "09:26:30", "09:30:00"},
					{"11/12/2011", "09:34:30", "09:37:00"},
					{"17/12/2011", "16:43:30", "16:46:30"},
					{"23/12/2011", "09:27:30", "09:30:30"},
					{"23/12/2011", "09:37:00", "09:39:00"},
			},
			{

					{"16/12/2011", "11:15:30", "11:23:30"},
					{"16/12/2011", "11:27:00", "11:33:00"},
					{"16/12/2011", "11:36:30", "11:41:30"},
					{"19/12/2011", "10:17:30", "10:25:30"},
					{"19/12/2011", "10:33:00", "10:41:00"},
					{"19/12/2011", "10:48:00", "10:51:00"},
			},
			{

					{"14/12/2011", "21:22:00", "21:29:00"},
					{"15/12/2011", "21:23:00", "21:29:00"},
					{"15/12/2011", "06:20:00", "06:26:00"},
					{"16/12/2011", "11:15:30", "11:21:30"},
					{"16/12/2011", "12:03:00", "12:09:00"},
					{"17/12/2011", "06:01:30", "06:09:30"},
					{"17/12/2011", "06:14:00", "06:30:00"},
					{"23/12/2011", "21:21:00", "21:28:00"},
			},
			{},
			{},
			{

					{"18/01/2012", "10:54:00", "10:58:30"},
					{"18/01/2012", "11:32:00", "11:34:00"},
					{"18/01/2012", "18:18:00", "18:27:00"},
			},
			{},
			{},
			{}
	};
}
